package com.yonyou.crm.cum.contact.itf;

import com.yonyou.crm.bpub.list.entity.AppListVO;
import com.yonyou.crm.common.page.entity.Page;
import com.yonyou.crm.cum.contact.entity.ContactVO;

import java.util.List;
import java.util.Map;

public interface IContactBizService {
	public Page<ContactVO> getList(Page<ContactVO> page, Map<String, Object> paraMap);

	public ContactVO getDetail(Long id);

	public ContactVO save(ContactVO contact);

	public ContactVO save(ContactVO contact, Map<String, Object> param);

	public ContactVO update(ContactVO contact);

	public int delete(Long id);

	public void batchDelete(String[] ids);

	public List<AppListVO> getListForApp(Map<String, Object> map);

	public int saveFollow(Long id);

	public int deleteFollow(Long id);

	public List<String> getContactNameById(String[] ids);
}
